<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>


<%
	String dengluxiaoxima=(String)session.getAttribute("dengluxiaoxima");
	String str="";
	if(dengluxiaoxima!=null)
	{	
		if(dengluxiaoxima.equals("1"))
			str="用户名和密码不能为空";
	//	else if(xiaoxima.equals("2"))
		//	str="登陆成功";
		else if(dengluxiaoxima.equals("3"))
			str="密码错误";
		else if(dengluxiaoxima.equals("4"))
			str="用户不存在";
		else
			str="错误信息："+dengluxiaoxima;
		
		session.invalidate();
	}
%>

<html>
  <head>
	  <style>A{text-decoration: NONE} </style>
	  <title>登陆</title>
  </head>
  <body style="text-align:center" bgcolor="#000000" text="#ffffff">
 	
 	<br><br><br><br><br><br><br><br>
 	<font size="+5"><%=str%></font>
 	<br><br><br><br><br><br><br><br>
 	
 	<form action="Yonghudenglu"  method="post">
		用户名：<input name="yonghuming"  type="text" />
		<br><br><br><br>
		密&nbsp;&nbsp;码：<input name="mima"  type="password"/>
		<br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;
		<input name="submit1" value="登录" type="submit" />
		<input name="submit2" value="重置" type="reset" />
	</form> 
	<br><br><br><br>&nbsp;&nbsp;&nbsp;&nbsp;
   	 没有账号？ <a href="zhuce.jsp"> 注册 </a>
  </body>
</html>
